<template>
  <el-card shadow="hover">
    <template #header>
      <h2>{{ value }}</h2>
    </template>
    <div style="width: 306px; height: 187px">
      <v-chart :option="option"></v-chart>
    </div>
  </el-card>
</template>

<script>
export default {
  props: ["value", "option"],
};
</script>

<style lang="scss" scoped>
h2 {
  font-weight: 600;
}
</style>
